﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title>图片展示</title>
    <link href="@Url.Content("~/Content/Site.css", true)" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery.min.js", true)" type="text/javascript"></script>

    <link href="@Url.Content("~/Scripts/jquery_google_img/galleryview.css", true)" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery_google_img/js/jquery.easing.1.3.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/jquery_google_img/js/jquery.galleryview-1.1.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/jquery_google_img/js/jquery.timers-1.1.2.js", true)" type="text/javascript"></script>

    <script type="text/javascript">
        $(document).ready(function () {
            var interval = '@ViewData["playInterval"]';
            interval = parseInt(interval);
            $('#photos').galleryView({
                panel_width: 800,
                panel_height: 490,
                frame_width: 100,
                frame_height: 60,
                overlay_height: 20,
                transition_interval: interval
            });

            var imgid = '@ViewData["firstImg"]';
            if (imgid != "") {
                $('#' + imgid).click();
            }
        });

    </script>

</head>
<body style="background-color: #808080">
    <div style="display: none">
        <object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="aboutplayer" width="251"
            height="62">
            <param name="URL" value="@ViewData["bgMusicUrl"]" />
            <param name="FileName" value="video" />
            <param name="volume" value="10000" />
            <param name="autoStart" value="1" />
            <param name="playCount" value="100" />
            <param name="enablecontextmenu" value="0" />
            <param name="enableerrordialogs" value="0" />
            <param name="uiMode" value="invisible" />
        </object>
    </div>
    <br />
    <div align="center">
        @Html.Raw(ViewData["photoHtml"].ToString())
    </div>
</body>
</html>
